import { constantRoutes } from "@/router";

export default{
    namespaced:true,
    state:{
        menusList:[]
    },
    mutations:{
        updateMenus(state,asyncRoutes){
            state.menusList=[...constantRoutes,...asyncRoutes]
        }
    }
}